using UnityEngine;
using TMPro;
using UnityEngine.UI;

namespace ProjectMG
{
    public class UIGovernmentAffairsFormView: MonoBehaviour
    {
		[SerializeField]
		private TextMeshProUGUI m_AffairIntro0;
		[SerializeField]
		private TextMeshProUGUI m_AffairIntro1;
		[SerializeField]
		private TextMeshProUGUI m_Title;
		[SerializeField]
		private TextMeshProUGUI m_Intro;
		[SerializeField]
		private Image m_Tag;
		[SerializeField]
		private TextMeshProUGUI m_TagName;

		public TextMeshProUGUI AffairIntro0
		{
			get
			{
				if(!m_AffairIntro0)
				{
					m_AffairIntro0 = gameObject.transform.Find("Offset/MainHistoryEvent/_AffairIntro0").GetComponent<TextMeshProUGUI>();
				}
				return m_AffairIntro0;
			}
		}
		public TextMeshProUGUI AffairIntro1
		{
			get
			{
				if(!m_AffairIntro1)
				{
					m_AffairIntro1 = gameObject.transform.Find("Offset/MainHistoryEvent/_AffairIntro1").GetComponent<TextMeshProUGUI>();
				}
				return m_AffairIntro1;
			}
		}
		public TextMeshProUGUI Title
		{
			get
			{
				if(!m_Title)
				{
					m_Title = gameObject.transform.Find("Offset/AffairsScrollView/Viewport/Content/AffairElement/_Title").GetComponent<TextMeshProUGUI>();
				}
				return m_Title;
			}
		}
		public TextMeshProUGUI Intro
		{
			get
			{
				if(!m_Intro)
				{
					m_Intro = gameObject.transform.Find("Offset/AffairsScrollView/Viewport/Content/AffairElement/_Intro").GetComponent<TextMeshProUGUI>();
				}
				return m_Intro;
			}
		}
		public Image Tag
		{
			get
			{
				if(!m_Tag)
				{
					m_Tag = gameObject.transform.Find("Offset/AffairsScrollView/Viewport/Content/AffairElement/_Tag").GetComponent<Image>();
				}
				return m_Tag;
			}
		}
		public TextMeshProUGUI TagName
		{
			get
			{
				if(!m_TagName)
				{
					m_TagName = gameObject.transform.Find("Offset/AffairsScrollView/Viewport/Content/AffairElement/_Tag/_TagName").GetComponent<TextMeshProUGUI>();
				}
				return m_TagName;
			}
		}

    }
}